import { createVNode, render } from "vue";
import ComponentInfo from "./index.vue";

export function showComponentInfo(container, props = {}) {
  const vm = createVNode(ComponentInfo, props);

  document.body.appendChild(toastDom.$el);

  render(vm, container);

  return vm;
}
